const routes = [
    {
        path: '/home',
        name: 'home',
        title: 'home',
        component: () => import('@/view/page/home.vue'),
        children: [
            // 控制台
            {
                path: '/function',
                component: () => import('@/view/page/system/function.vue'),
                name: 'function',
                label: '运行环境',
                is_active: true
            },
            {
                path: '/sysNote',
                component: () => import('@/view/page/system/sysNote.vue'),
                name: 'sysNote',
                label: '系统日志',
                is_active: false
            },

            // 集团管理
            {
                path: '/role',
                component: () => import('@/view/page/group/role.vue'),
                name: 'role',
                label: '角色管理',
                is_active: false
            },
            {
                path: '/organization',
                component: () => import('@/view/page/group/organization.vue'),
                name: 'organization',
                label: '组织管理',
                is_active: false
            },
            {
                path: '/department',
                component: () => import('@/view/page/group/department.vue'),
                name: 'department',
                label: '部门管理',
                is_active: false
            },
            {
                path: '/user',
                component: () => import('@/view/page/group/user.vue'),
                name: 'user',
                label: '账号管理',
                is_active: false
            },

            // 我的钱包
            {
                path: '/recharge',
                component: () => import('@/view/page/wallet/recharge.vue'),
                name: 'recharge',
                label: '充值续费',
                is_active: false
            },
            {
                path: '/recharge_detail',
                component: () => import('@/view/page/wallet/recharge_detail.vue'),
                name: 'recharge_detail',
                label: '充值明细',
                is_active: false
            },
            {
                path: '/consumption_detail',
                component: () => import('@/view/page/wallet/consumption_detail.vue'),
                name: 'consumption_detail',
                label: '消费明细',
                is_active: false
            },

            // 模板管理
            {
                path: '/mould_list',
                component: () => import('@/view/page/mould/mould_list.vue'),
                name: 'mould_list',
                label: '模板库',
                is_active: false
            },
            {
                path: '/number_rule',
                component: () => import('@/view/page/mould/number_rule.vue'),
                name: 'number_rule',
                label: '模板编号规则',
                is_active: false
            }, {
                path: '/parts_number_rule',
                component: () => import('@/view/page/mould/parts_number_rule.vue'),
                name: 'parts_number_rule',
                label: '配件编号规则',
                is_active: false
            }, {
                path: '/partsself_number_rule',
                component: () => import('@/view/page/mould/partsself_number_rule.vue'),
                name: 'partsself_number_rule',
                label: '配件自身编号规则',
                is_active: false
            },
            // 型材管理
            {
                path: '/standardParts',
                component: () => import('@/view/page/profile/standardParts.vue'),
                name: 'standardParts',
                label: '标准件',
                is_active: false
            },
            {
                path: '/combiningMetadata',
                component: () => import('@/view/page/profile/combiningMetadata.vue'),
                name: 'combiningMetadata',
                label: '组合元数据',
                is_active: false
            },
            {
                path: '/profileIdentifier',
                component: () => import('@/view/page/profile/identifier.vue'),
                name: 'profileIdentifier',
                label: '型材编码',
                is_active: false
            },
            {
                path: '/rule',
                component: () => import('@/view/page/profile/rule.vue'),
                name: 'rule',
                label: '型材规则',
                is_active: false
            },
            // 任务管理
            {
                path: '/taskList',
                component: () => import('@/view/page/task/taskList.vue'),
                name: 'taskList',
                label: '任务列表',
                is_active: false
            },
            {
                path: '/myTask',
                component: () => import('@/view/page/task/myTask.vue'),
                name: 'myTask',
                label: '我的任务',
                is_active: false
            },
            {
                path: '/workHours',
                component: () => import('@/view/page/task/workHours.vue'),
                name: 'workHours',
                label: '我的工时',
                is_active: false
            },
            {
                path: '/taskSetUp',
                component: () => import('@/view/page/task/taskSetUp.vue'),
                name: 'taskSetUp',
                label: '任务配置',
                is_active: false
            },
            {
                path: '/taskUnitPriceSetUp',
                component: () => import('@/view/page/task/taskUnitPriceSetUp.vue'),
                name: 'taskUnitPriceSetUp',
                label: '任务单价配置',
                is_active: false
            },
            {
                path: '/projectStatus',
                component: () => import('@/view/page/task/projectStatus.vue'),
                name: 'projectStatus',
                label: '项目状态配置',
                is_active: false
            },
            {
                path: '/nodeSetup',
                component: () => import('@/view/page/task/nodeSetup.vue'),
                name: 'nodeSetup',
                label: '节点配置',
                is_active: false
            },
            {
                path: '/projectInformation',
                component: () => import('@/view/page/task/projectInformation.vue'),
                name: 'projectInformation',
                label: '项目资料管理',
                is_active: false
            },
            {
                path: '/adminWorkHours',
                component: () => import('@/view/page/task/adminWorkHours.vue'),
                name: 'adminWorkHours',
                label: '工时管理',
                is_active: false
            },
            {
                path: '/adminProcess',
                component: () => import('@/view/page/task/adminProcess.vue'),
                name: 'adminProcess',
                label: '进度总览',
                is_active: false
            },
            {
                path: '/serviceEnterprise',
                component: () => import('@/view/page/task/serviceEnterprise.vue'),
                name: 'serviceEnterprise',
                label: '服务企业',
                is_active: false
            },
            {
                path: '/taskWrongRate',
                component: () => import('@/view/page/task/taskWrongRate.vue'),
                name: 'taskWrongRate',
                label: '错误率配置',
                is_active: false
            },

            // 业绩管理
            {
                path: '/myCommission',
                component: () => import('@/view/page/performance/myCommission.vue'),
                name: 'myCommission',
                label: '我的提成',
                is_active: false
            },
            {
                path: '/myMonthCommission',
                component: () => import('@/view/page/performance/myMonthCommission.vue'),
                name: 'myMonthCommission',
                label: '我的月度提成',
                is_active: false
            },
            {
                path: '/companyBilling',
                component: () => import('@/view/page/performance/companyBilling.vue'),
                name: 'companyBilling',
                label: '公司账单',
                is_active: false
            },
            {
                path: '/adminCommission',
                component: () => import('@/view/page/performance/adminCommission.vue'),
                name: 'adminCommission',
                label: '提成管理',
                is_active: false
            },
            {
                path: '/adminMonthCommission',
                component: () => import('@/view/page/performance/adminMonthCommission.vue'),
                name: 'adminMonthCommission',
                label: '月度提成管理',
                is_active: false
            },
            {
                path: '/taskCommission',
                component: () => import('@/view/page/performance/taskCommission.vue'),
                name: 'taskCommission',
                label: '项目提成汇总',
                is_active: false
            },
            {
                path: '/rewardPunishList',
                component: () => import('@/view/page/performance/rewardPunishList.vue'),
                name: 'rewardPunishList',
                label: '奖罚管理',
                is_active: false
            },

            // 项目管理
            {
                path: '/proContentSet',
                component: () => import('@/view/page/project/propBasedata/proContentSet.vue'),
                name: 'proContentSet',
                label: '项目结构设置',
                is_active: false
            },
            {
                path: '/proNodeSet',
                component: () => import('@/view/page/project/propBasedata/proNodeSet.vue'),
                name: 'proNodeSet',
                label: '项目节点资料',
                is_active: false
            },
            {
                path: '/proOutputSet',
                component: () => import('@/view/page/project/propBasedata/proOutputSet.vue'),
                name: 'proOutputSet',
                label: '产出结果资料',
                is_active: false
            },
            {
                path: '/enterProList',
                component: () => import('@/view/page/project/proList/enterProList.vue'),
                name: 'enterProList',
                label: '企业项目列表',
                is_active: false
            },
            {
                path: '/myProList',
                component: () => import('@/view/page/project/proList/myProList.vue'),
                name: 'myProList',
                label: '我的项目列表',
                is_active: false
            },
            {
                path: '/dispatch',
                component: () => import('@/view/page/project/proManage/dispatch.vue'),
                name: 'dispatch',
                label: '项目任务派工',
                is_active: false
            }, {
                path: '/report',
                component: () => import('@/view/page/project/proManage/report.vue'),
                name: 'report',
                label: '项目进度报告',
                is_active: false
            }, {
                path: '/confirmResult',
                component: () => import('@/view/page/project/proManage/confirmResult.vue'),
                name: 'confirmResult',
                label: '项目成果确认',
                is_active: false
            }, {
                path: '/tasktTansfer',
                component: () => import('@/view/page/project/proManage/tasktTansfer.vue'),
                name: 'tasktTansfer',
                label: '任务迁移',
                is_active: false
            }, {
                path: '/nodeDistribution',
                component: () => import('@/view/page/project/proStatistics/nodeDistribution.vue'),
                name: 'nodeDistribution',
                label: '项目进度分布图',
                is_active: false
            }, {
                path: '/proDetail',
                component: () => import('@/view/page/project/proStatistics/proDetail.vue'),
                name: 'proDetail',
                label: '项目明细表',
                is_active: false
            },
            {
                path: '/szlsProList',
                component: () => import('@/view/page/digitalTwins/index.vue'),
                name: 'szlsProList',
                label: '项目列表',
                is_active: false
            },

            // 自定义表单
            {
                path: '/customForm',
                component: () => import('@/view/page/customForm/list.vue'),
                name: 'customForm',
                label: '表单列表',
                is_active: false
            },
            {
                path: '/customFormSetup',
                component: () => import('@/view/page/customForm/index.vue'),
                name: 'customFormSetup',
                label: '表单配置',
                is_active: false
            },
            {
                path: '/testMenu',
                component: () => import('@/view/page/customForm/testMenu.vue'),
                name: 'testMenu',
                label: '测试表单',
                is_active: false
            },
            {
                path: '/testMenu1',
                component: () => import('@/view/page/customForm/testMenu.vue'),
                name: 'testMenu1',
                label: '测试表单1',
                is_active: false
            },
            {
                path: '/testMenu2',
                component: () => import('@/view/page/customForm/testMenu.vue'),
                name: 'testMenu2',
                label: '测试表单2',
                is_active: false
            },
        ]
    }
]

export default routes